package com.ala4.oxcafe.constants;

/**
 * 常量类
 *
 * @author PING
 * @version 1.0
 * @date 2024/12/24 16:12
 */
public class SecurityConstants {

    /**
     * 登录方式入参名
     */
    public static final String LOGIN_TYPE_NAME = "loginType";
    /**
     * 登录方式——账号密码登录
     */
    public static final String PASSWORD_LOGIN_TYPE = "passwordLogin";
    /**
     * 验证码值入参名
     */
    public static final String CAPTCHA_CODE_NAME = "verifyCode";
    /**
     * 验证码id入参名
     */
    public static final String CAPTCHA_ID_NAME = "uuid";

    public static final String HEADER_UPP_BEARER = "Bearer";

    public static final String METHOD_POST = "POST";

    public static final String METHOD_GET = "GET";

    public static final String CHARACTER_ENCODING_UTF_8 = "UTF-8";

    /**
     * 当前的登录用户
     */
    public static final String USER_LOGIN_KEY = "user:login:success:";

    /**
     * 登入成功的用户信息
     */
    public static final String USER_LOGIN_TOKEN_INFO = "user:login:user-info:";

    /**
     * 用户黑名单
     */
    public static final String USER_LOGIN_TOKEN_BLOCK = "user:login:block:";


    /**
     * 微信小程序APPToken
     */
    public static final String WX_APP_ACCESS_TOKEN = "WX_APP_ACCESS_TOKEN";
}
